<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition template="template/index.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
	<ui:define name="title">	
		<title>#{msg['company-info']}</title>
	</ui:define>
	<ui:define name="lcontent">
		<ui:include src="template/menu-left/home.xhtml"></ui:include>
	</ui:define>
	<ui:define name="rcontent">
		<h:form id="form1">
			<f:event type="preRenderView" listener="#{companyInfoBean.onload}" />
			<div class="control">
				<div class="control-button">
					<a href="update-company-info.html"> 
						<img src="#{facesContext.externalContext.requestContextPath}/resources/images/icon/edit.png" />
						<span>#{msg['edit']}</span>
					</a>
				</div>
				<span class="clear"></span>
			</div>
			<div class="loading">
				<img src="#{facesContext.externalContext.requestContextPath}/resources/images/loading.gif" />
			</div>
			<div class="rcontent-main">
				<div class="info-header" style="width: 30%;float:left">
					<img src="http://cdn.igyaan.in/igyaanin/wp-content/uploads/2011/06/02/google-stops-gmail-phishing-scheme-from-china/gmail-logo.jpg"></img>
					<br/>
					<span>#{companyInfoBean.company.cmpanyne}</span>
				</div>
				<div style="width: 70%;float:left">
					<table class="info-table">
						<tr>
							<td class="info-table-first">#{msg['nationality']}</td>
							<td class="info-table-second">#{companyInfoBean.company.natnnlity}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['bank']}</td>
							<td class="info-table-second">#{companyInfoBean.company.bk}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['bank-account']}</td>
							<td class="info-table-second">#{companyInfoBean.company.bkat}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['address']}</td>
							<td class="info-table-second">#{companyInfoBean.company.adrs}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['phone']}</td>
							<td class="info-table-second">#{companyInfoBean.company.penmbr}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['fax']}</td>
							<td class="info-table-second">#{companyInfoBean.company.fxnmbr}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['email']}</td>
							<td class="info-table-second">#{companyInfoBean.company.el}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['website']}</td>
							<td class="info-table-second">#{companyInfoBean.company.wbse}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['contact-person']}</td>
							<td class="info-table-second">#{companyInfoBean.company.cnttprsn}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['tax-code']}</td>
							<td class="info-table-second">#{companyInfoBean.company.txce}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['business-license']}</td>
							<td class="info-table-second">#{companyInfoBean.company.businslice}</td>
						</tr>
						<tr>
							<td class="info-table-first">#{msg['description']}</td>
							<td class="info-table-second">#{companyInfoBean.company.dscptn}</td>
						</tr>
					</table>
				</div>
				<span class="clear"/>
			</div>
		</h:form>
	</ui:define>
</ui:composition>